﻿using MangoMes.Commont.DTOs;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace RBAC.Write.API.Applications.PermissionsFiles
{
    public class Createpercommand : IRequest<ResultsDTO>
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [Key]
        public int PermissionsId { get; set; }
        /// <summary>
        /// 权限名
        /// </summary>
        public string PermissionsName { get; set; }
        /// <summary>
        /// 权限URL
        /// </summary>
        public string PermissionsUrl { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
    }
}
